package com.yanyu.space.sys.bean.vo.dept;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author yanyu
 */
@Data
public class DeptAddVo {

    @ApiModelProperty("父类id")
    private Long parentId;

    @ApiModelProperty("部门信息")
    @NotEmpty(message = "{NotEmpty}")
    private String deptName;

    @ApiModelProperty("部门负责人")
    private String leader;

    @ApiModelProperty("联系电话")
    private Integer phone;

    @ApiModelProperty("启用标识")
    private Integer enabled;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("备注")
    private String remark;
}
